package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/***
 * 基础合同
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_contract")
public class SysContract {


    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 商铺ID
     */
    @TableField(value = "shop_id")
    private Long shopId;

    /**
     * 合同编号
     */
    @TableField(value = "contract_no")
    private String contractNo;

    /**
     * 出租方 公司名称
     */
    @TableField(value = "lessor")
    private String lessor;

    /**
     * 出租方联系方式
     */
    @TableField(value = "lessor_mobile")
    private String lessorMobile;

    /**
     * 法定代表人
     */
    @TableField(value = "lgl_representative")
    private String lglRepresentative;

    /**
     * 公章
     */
    @TableField(value = "ofcl_seal")
    private String ofclSeal;

    /***
     * 收款码
     */
    @TableField(value = "receipt_code")
    private String receiptCode;

    /***
     * 1:骑遇 2:骑缘
     */
    @TableField(value = "`type`")
    private Byte type;


    /**
     * 修改人
     */
    @TableField(value = "modify_by")
    private Long modifyBy;

    /***
     * 提醒手机
     */
    @TableField(value = "remind_mobile")
    private String remindMobile;

    /***
     * 换点售后电话
     */
    @TableField(value = "exchange_mobile")
    private String exchangeMobile;

    /***
     * 投诉电话
     */
    @TableField(value = "complaint_mobile")
    private String complaintMobile;


    @TableField(exist = false)
    private List<String> receiptCodes;


}
